#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int Same(int arr[5], int len)
{
	int i = 0;
	for (i = 0; i < len; i++)
	{
		int j = 0;
		for (j = i + 1; j < len; j++)
		{
			if ((arr[i] ^ arr[j]) == 0)
			{
				goto end;
			}
		}
	}
    end:return arr[i];
}
int main()
{
	int nums[5] = { 0 };
	printf("请输入数组：");
	for(int i = 0;i<5;i++)
	{
		scanf("%d", &nums[i]);
	}
	int len = sizeof(nums) / sizeof(nums[0]);
	int ret = Same(nums, len);
	printf("%d,%d", ret,ret+1);
	return 0;
}
#if 0
int main()
{
	char ch = '0';
	ch = getchar();
	printf("%c%c%c%c", ch);
	return 0;
}

int main()
{
	int n = 0;
	char ch;
	for (ch = getchar(); ch != '\n'; n++)
	{
		;
	}
	printf("%d\n", n);
	return 0;
}

int main()
{
	char n = 0;
	int count = 0;
	while (getchar() != '\n')
	{
		count++;
	}
	printf("%d", count);
	return 0;
}

int main()
{
	char c;
	int v0 = 0, v1 = 0, v2 = 0;
	do
	{
		switch (c = getchar())
		{
		case'a':case'A':
		case'e':case'E':
		case'i':case'I':
		case'o':case'O':
		case'u':case'U':v1 += 1;
		default: v0 += 1; v2 += 1;
		}
	} while (c != '\n');
	printf("v0=%d,v1=%d,v2=%d\n",v0,v1,v2);
	return 0;

}
#endif